$(function(){
	var firststreetData = $('#firststreetData'),
		secondstreetData = $('#secondstreetData'),
		threestreetData = $('#threestreetData'),
		fourestreetData = $('#fourestreetData'),
		fivestreetData = $('#fivestreetData');


		firststreetData.validate();
		firststreetData.on('submit',function(){
			try{
				if (firststreetData.valid()) {
					firststreetData.submitForm();
				}
				return false;
			}catch(e){
				console.log(e);
			}
		})



		secondstreetData.validate();
		secondstreetData.on('submit',function(){
			try{
				if (secondstreetData.valid()) {
					secondstreetData.submitForm();
				}
				return false;
			}catch(e){
				console.log(e);
			}
		})


		threestreetData.validate();
		threestreetData.on('submit',function(){
			try{
				if (threestreetData.valid()) {
					threestreetData.submitForm();
				}
				return false;
			}catch(e){
				console.log(e);
			}
		})


		


		fourestreetData.validate();
		fourestreetData.on('submit',function(){
			try{
				if (fourestreetData.valid()) {
					fourestreetData.submitForm();
				}
				return false;
			}catch(e){
				console.log(e);
			}
		})


		fivestreetData.validate();
		fivestreetData.on('submit',function(){
			try{
				if (fivestreetData.valid()) {
					fivestreetData.submitForm();
				}
				return false;
			}catch(e){
				console.log(e);
			}
		})

var neighborData = $('#neighborData');
		neighborData.validate();
		neighborData.on('submit',function(){
			try{
				if (neighborData.valid()) {
					neighborData.submitForm();
				}
				return false;
			}catch(e){
				console.log(e);
			}
		})

	
})